[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
rieben:     On 4/26/24 15:33, denis.ma...@unibe.ch wrote: Hi, I’m trying to typeset a poem from XML, but I can’t figure out how to make the inbetween key workin

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
denis.ma...@unibe.ch <mailto:denis.ma...@unibe.ch> wrote: Hi, I’m trying to typeset a poem from XML, but I can’t figure out how to make the inbetween key working here. As the source is XML, I cannot just add an empty line to start a new group of lines inside \startlines…\stoplines. I gu

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
17:25 CEST geschrieben:     On 4/26/24 15:33, denis.ma...@unibe.ch wrote: Hi, I’m trying to typeset a poem from XML, but I can’t figure out how to make the inb

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
ML, but I can’t figure out how to make the inbetween key working here. As the source is XML, I cannot just add an empty line to start a new group of lines inside \startlines…\stoplines. I guess, there must be a command to do that, but \par seems to have no effect here. How can this be done? H

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
m from XML, but I can’t figure out how to make the inbetween key working here. As the source is XML, I cannot just add an empty line to start a new group of lines inside \startlines…\stoplines. I guess, there must be a command

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 15:33, denis.ma...@unibe.ch wrote: > Hi, > > I’m trying to typeset a poem from XML, but I can’t figure out how to > make the inbetween key working here. > > As the source is XML, I cannot just add an empty line to start a new > group of lines inside \startline

[NTG-context] \par and \startlines

2024-04-26 Thread denis.maier
Hi, I'm trying to typeset a poem from XML, but I can't figure out how to make the inbetween key working here. As the source is XML, I cannot just add an empty line to start a new group of lines inside \startlines...\stoplines. I guess, there must be a command to do that, but \par seems to have

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
Hoekwater a écrit : > >> >> >> > On 25 Apr 2024, at 16:08, Fabrice Couvreur >> wrote: >> > >> > Hi Taco, >> > I knew I wouldn't be able to explain what was happening. >> > The code works perfectly and the figure is clearly visibl

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
; > On 25 Apr 2024, at 16:08, Fabrice Couvreur > wrote: > > > > Hi Taco, > > I knew I wouldn't be able to explain what was happening. > > The code works perfectly and the figure is clearly visible in the > component chapter-14 : > > It is probably

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Taco Hoekwater
> On 25 Apr 2024, at 16:08, Fabrice Couvreur > wrote: > > Hi Taco, > I knew I wouldn't be able to explain what was happening. > The code works perfectly and the figure is clearly visible in the component > chapter-14 : It is probably not related to the figure

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Hans Hagen
On 4/25/2024 4:08 PM, Fabrice Couvreur wrote: Hi Taco, I knew I wouldn't be able to explain what was happening. The code works perfectly and the figure is clearly visible in the component chapter-14 : \startcomponent[chapter-14] \startMPpage ... \stopMPpage \stopcomponent But if I compile my

[NTG-context] Re: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 15:44 schrieb Thomas A. Schmitz: Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
Hi Taco, I knew I wouldn't be able to explain what was happening. The code works perfectly and the figure is clearly visible in the component chapter-14 : \startcomponent[chapter-14] \startMPpage ... \stopMPpage \stopcomponent But if I compile my project, it disappears !! \startproduct

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in mkxl. All best Thomas \setuppapersize [A6

[NTG-context] Re: utiliydata

2024-04-25 Thread Hans Hagen
On 4/25/2024 9:25 AM, Thomas A. Schmitz wrote: Nope, very sorry, can’t figure it out… I see job.register, I see I can access structures.refrences.collected, but what about the next level utilitydata.structures.references.collected={ [""]={ [“REF"]={ What does the empty key

[NTG-context] Re: utiliydata

2024-04-25 Thread Thomas A. Schmitz
> > Nope, very sorry, can’t figure it out… I see job.register, I see I can access > structures.refrences.collected, but what about the next level > > utilitydata.structures.references.collected={ > [""]={ > [“REF"]={ > > What does the emp

[NTG-context] Re: utiliydata

2024-04-25 Thread Thomas A. Schmitz
> On 24. Apr 2024, at 17:59, Hans Hagen wrote: > > grep for "job." (i bet you can figure it out and compensate the embaressment > that way) > > Hans Nope, very sorry, can’t figure it out… I see job.register, I see I can access structures.refrences.collected, b

[NTG-context] Re: what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-24 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 20.04.2024 um 23:00: I can not figure out why this progress bar only works when \showframe is activated. When you comment on \showframe, it's as if \realpageno is at zero. (current version: 2024.04.01 08:59) \showframe \startuseMPgraphic{MonGraphisme_MP

[NTG-context] Re: utiliydata

2024-04-24 Thread Hans Hagen
On 4/24/2024 5:41 PM, Thomas A. Schmitz wrote: Hi all, I’m slightly embarrassed because this should be easy, but I can’t figure out how to do this: in the tuc/tua file, I have the complete references of my document. How can I access it from within my Lua code? For instance, something like

[NTG-context] utiliydata

2024-04-24 Thread Thomas A. Schmitz
Hi all, I’m slightly embarrassed because this should be easy, but I can’t figure out how to do this: in the tuc/tua file, I have the complete references of my document. How can I access it from within my Lua code? For instance, something like utilitydata.structures.references.collected

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
gt; it has lots of footnotes. Sometimes the footnotes are just in the main > text, but sometimes also in figure captions, inside floats, inside > tables that are inside floats, inside tabulations inside floats, etc. > > What I find alarming is it is frequently not rendering all

[NTG-context] floats re-ordering and numbering

2024-04-22 Thread denis.maier
%%% \setupexternalfigures [location={local,global,default}] \setupfloats[compress=no] \setupfloat[figure][default=top] \starttext \input knuth \placefigure{Cow 1}{\externalfigure[cow][ width=.5\textwidth, ]} \placefigure{Cow 2}{\externalfigure[cow

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Hans Hagen via ntg-context
the footnotes are just in the main text, but sometimes also in figure captions, inside floats, inside tables that are inside floats, inside tabulations inside floats, etc. What I find alarming is it is frequently not rendering all of the footnote messages at the bottom of the page. The actual footnote

[NTG-context] Why don't footnotes appear in floats or figures?

2024-04-21 Thread Joel via ntg-context
in figure captions, inside floats, inside tables that are inside floats, inside tabulations inside floats, etc. What I find alarming is it is frequently not rendering all of the footnote messages at the bottom of the page. The actual footnote number within the body is rendered, but no number

[NTG-context] what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-20 Thread garulfo
I can not figure out why this progress bar only works when \showframe is activated. When you comment on \showframe, it's as if \realpageno is at zero. (current version: 2024.04.01 08:59) \showframe \startuseMPgraphic{MonGraphisme_MP} numeric n ; n := \number\realpageno ; numeric m ; m

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
Am 10.04.24 um 14:21 schrieb Hans Hagen: It fails for me as well, when "mode=columns" is used. compare with and without mode columns: \starttext     \enablemode[columns]     As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have     more than one cell in a row.

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
Hm, I see. This question appeared while using the tug-boat-style. Taking the example at the end of the style I adapted my article accordingly. However I missed the point to enable the mode “columns”… Thanks for the explanation! Willi > On 10 Apr 2024, at 14:21, Hans Hagen wrote: > > On

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
On 4/10/2024 1:30 PM, Taco Hoekwater wrote: On 10 Apr 2024, at 13:04, Willi Egger wrote: Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? It fails for me as well,

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Taco Hoekwater
> On 10 Apr 2024, at 13:04, Willi Egger wrote: > > Hello, > > It seems, that the referencing mechanism is failing. I detected this with the > January version and the current version: 2024.04.01 08:59. > > Could some one confirm this? It fails for me as well, when "mode=columns" is used.

[NTG-context] Figure reference failing

2024-04-10 Thread Willi Egger
Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? Kind regards Willi test.pdf Description: Adobe PDF document test.tex Description: Binary data

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Thomas Meyer
Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or "{disable,nowhite,back}" You can set the space only for *all* floats, e.g.     \se

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 06.04.2024 um 12:56: Am 06.04.24 um 12:48 schrieb Thomas Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or "{disab

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Henning Hraban Ramm
Am 06.04.24 um 12:48 schrieb Thomas Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or "{disable,nowhite,back}" https://wiki.contextgarden.ne

[NTG-context] Re: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
a similar effect as \starttextdisplay. \usemodule[visual] \setupfloat[figure][location=left] \starttext \fakewords{10}{20} \startlinecorrection \fakeimage{4cm}{3cm}{6cm}{4cm} \stoplinecorrection \fakewords{10}{20} \blank[2*line] \fakewords{10}{20} \startplacefigure[location={force,none}] \fakeimage

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
[visual] \setupfloat[figure][location=left] \starttext \fakewords{10}{20} \startlinecorrection \fakeimage{4cm}{3cm}{6cm}{4cm} \stoplinecorrection \fakewords{10}{20} \blank[2*line] \fakewords{10}{20} \startplacefigure[location={force,none}] \fakeimage{4cm}{3cm}{6cm}{4cm} \stopplacefigure \fakewords

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
is Mikael because I saw the command the first time in the source of a presentation from him. Oh, that’s probably where I saw it, too. Here is a short example which two other solution to get a similar effect as \starttextdisplay. \usemodule[visual] \setupfloat[figure][location=left

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
pter[title={MetaPost}] First : a draw sample with a simple command %\externalfigure \externalfigure[smile.pdf] % Hans comments on Metapost Now gives the attached but it took me a while to figure out what works. An inkscape export adds for instance something (globally applied) that is

[NTG-context] Re: how to include an an svg file?

2024-03-15 Thread seyal zavira
st be callable on the command > > line (which doesn’t work for me on MacOS any more, must investigate…). > \startMPcode > draw lmt_svg [ filename = "smile.svg"] > \stopMPcode > > Now gives the attached but it took me a while to figure out what wo

[NTG-context] Re: how to include an an svg file?

2024-03-15 Thread Hans Hagen via ntg-context
? \externalfigure[smile] without any other settings, but inkscape must be callable on the command line (which doesn’t work for me on MacOS any more, must investigate…). \startMPcode draw lmt_svg [ filename = "smile.svg"] \stopMPcode Now gives the attached but it took me a while

[NTG-context] Re: Japanese

2024-03-14 Thread Otared Kavian
> > > > > In my previous mail, I wrote wrong amounts of lines. They should be 46 > > lines on one page, while the actual example doesn't show the 46th line. > > > > It would be important to identify the reason why only 24 characters are > > used to c

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
. They should be 46 > > lines on one page, while the actual example doesn't show the 46th line. > > > > It would be important to identify the reason why only 24 characters are > > used to create a line when 25 could be used. Then we can develop a method > > to turn

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
are used > to create a line when 25 could be used. Then we can develop a method to turn > that mechanism off or circumvent it. > Quotation from https://www.w3.org/TR/jlreq: > In principle, when composing a line with ideographic (cl-19), hiragana > (cl-15) and katakana (cl-16) characters, no

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
ve problems with SVGs, use Inkscape (or some commercial alternative > like Affinity Designer or Adobe Illustrator) for PDF conversion. > >> The MWE below works correctly, even if you have to make finer adjustments to >> place the figure in a precise position on the page. As I'm in th

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Henning Hraban Ramm
iner adjustments to place the figure in a precise position on the page. As I'm in the process of enriching and clarifying a few pages of the ConTeXt wiki and the French wikibook, I'm interested in the details concerning the position of figures, images and photos etc. So please let me know (in pri

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
Hi Hraban & Seyal I can confirm that converting the *.svg file into a *.pdf file displays the colour shades correctly ... (I used Gimp to export the smile.svg file to a smile03.pdf file). The MWE below works correctly, even if you have to make finer adjustments to place the fi

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Hans Hagen via ntg-context
ct, thanks! The "\definebar[...][inlined]" doesn't look quite right though -- the issue that I'm having is that I can't figure out how to highlight across both sides of an \alignhere without any questionable hacks. Unless the new "inlined" does work across an \alignhere and I'm jus

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Mikael Sundqvist
! > > The "\definebar[...][inlined]" doesn't look quite right though -- the > issue that I'm having is that I can't figure out how to highlight across > both sides of an \alignhere without any questionable hacks. Unless the > new "inlined" does work across an \alignhere an

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Max Chernoff
having is that I can't figure out how to highlight across both sides of an \alignhere without any questionable hacks. Unless the new "inlined" does work across an \alignhere and I'm just not seeing it in t

[NTG-context] Re: Japanese

2024-03-10 Thread Jean-Pierre Delange
d //katakana (cl-16) <https://www.w3.org/TR/jlreq/#cl-16>// characters, no extra spacing appears between their //character frame <https://www.w3.org/TR/jlreq/#term.character-frame>//. This is called solid setting (see //Figure 5 <https://

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
gt; > In principle, when composing a line with ideographic (cl-19) > > (https://www.w3.org/TR/jlreq/#cl-19), hiragana (cl-15) > > (https://www.w3.org/TR/jlreq/#cl-15) and katakana (cl-16) > > (https://www.w3.org/TR/jlreq/#cl-16) characters, no extra spacing appears > >

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Pablo Rodriguez via ntg-context
umulate, like > [...] > which you will now wikify... Many thanks for your reply, Hans. I will wikify this, once I figure out where it can fit in the wiki (in due time, since ConTeXt is more and more complex for me lately and my free time is less and less these days). I only used \enableexpe

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
span mid column. Notes can go in columns %D or at the end. We can start with a single column (for titles and such). I can't figure out which part of the file should be used/adapted to start with a single column. What I did is to put datas and abstract in a frame and use \placefigure. As stated

[NTG-context] enhancing documentation: initials

2024-03-05 Thread Henning Hraban Ramm
Hi, I tried to figure out what the "method" parameter of \setupinitial does – it changes the handling of quotation marks at the beginning of the text. It’s defined in context/base/mkiv/typo-drp.lua But I found no difference between first, last, and none; just "auto"

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
w3.org/TR/jlreq/#cl-15>// and //katakana (cl-16) <https://www.w3.org/TR/jlreq/#cl-16>// characters, no extra spacing appears between their //character frame <https://www.w3.org/TR/jlreq/#term.character-frame>//. This is called solid setting (see //Figure 5 <https://www.w3.org

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
setting (see Figure 5 (https://www.w3.org/TR/jlreq/#fig1_8)). I made manual corrections to scrp-cjk.lua, but with no effect to the ConTeXt output of my example. Do I have to recompile ConTeXt first? Emanuel On März 1 2024, at 2:59 pm, Wolfgang Schuster wrote: > Emanuel Han via ntg-context schrieb

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-20 Thread Ursula Hermann
he desktop as your current directory (where you should have "test.doc.tex"). And the third command compiles that source document. If none of all my previous suggestions works, sorry but I cannot figure out what might be preventing ConTeXt from finding the format files. Just in ca

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
ner}{\flushnextbox}% \else \flushnextbox \fi} \hbox} \setupfloat[table][command=\FloatTableALignment] \setupfloat[figure][default=rightmargin] \starttext \inright{Lorem ipsum \unknown}\samplefile{lorem} \startplacefigure \externalfigure[dummy][width=\rightmarginwi

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-19 Thread Ursula Hermann
u should have "test.doc.tex"). And the third command compiles that source document. If none of all my previous suggestions works, sorry but I cannot figure out what might be preventing ConTeXt from finding the format files. Just in case it might help, Pablo ___

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-19 Thread Pablo Rodriguez via ntg-context
here you should have "test.doc.tex"). And the third command compiles that source document. If none of all my previous suggestions works, sorry but I cannot figure out what might be preventing ConTeXt from finding the format files. Just in case it might help, Pablo __

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-19 Thread Gavin via ntg-context
tried to typeset your file, context-test.tex, your computer attempted to use pdftex rather than ConTeXt. To figure out why it did that, we need to know how you are doing the typesetting. Do you use a command on the command line? Are use using an editor that has a “typeset” button? Something

[NTG-context] behaviour sy in externalfigure

2024-02-16 Thread Hans van der Meer via ntg-context
The scaling in \externalfigure[][] with option sy=number seems to have a discrete change in behaviour between sy=1.0 and sy=(not 1.0).The MWE (see below, FIGURE REMOVED BECAUSE OTHERWISE  MESSAGE TOO LARGE) shows that factor sy≠1.0 is applied to the original height of the figure, but for sy=1.0

[NTG-context] Re: An announcement of my new book.

2024-02-14 Thread Joaquín Ataz López
that are spectacularly well documented, others that only show hints, and leave it up to the user to figure things out on their own, and others still that won't even compile on a more recent version of ConTeXt (apparently the proper way to access a counter's value in ConTeXt is to use \getnumber

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Peter Hopcroft via ntg-context
Thank you Sir Coleman. I’m a Context beginner and I’d love a good book introducing me to Context. I’ve wasted many hours trying to figure out how to do things that turned out to be simple. The answer is often/sometimes buried in the documentation, and what would really help me is a book

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Wolfgang Schuster
, on the other hand, is apparently very powerful and capable, but is not as well documented. There are things that are spectacularly well documented, others that only show hints, and leave it up to the user to figure things out on their own, and others still that won't even compile on a more recent version

[NTG-context] An announcement of my new book.

2024-02-11 Thread SirColeman via ntg-context
, but is not as well documented. There are things that are spectacularly well documented, others that only show hints, and leave it up to the user to figure things out on their own, and others still that won't even compile on a more recent version of ConTeXt (apparently the proper way to access a counter's

[NTG-context] Re: \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
to something else broke 'offset=', then I wouldn't want to add misinformation. >> Here is the example... one and all should be able to directly run it, but >> the text above and below each picture may make the issues clear without >> having to run the code. (The result I was lo

[NTG-context] Re: \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Pablo Rodriguez via ntg-context
n it, but > the text above and below each picture may make the issues clear without > having to run the code. (The result I was looking for is the second figure > in this example.) To get offset in the frame of the image, you need a different frame from th

[NTG-context] \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
e result I was looking for is the second figure in this example.) Thanks. Jim %%% cut here % \setuppapersize[legal] \starttext fr[ef] with frameoffset=1cm: This preceding text ends up inside the frame. \fr

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
advocated as faster than context). > > > > I was curious, so did a quick experiment: typeset \input knuth 500 times. > > Here are the results: > > > > pdflatex: 547 pages/sec > > lualatex: 308 pages/sec > > opentype or type 1 ? type 1. I did not change a

[NTG-context] Re: font error in float placement?

2024-01-13 Thread Henning Hraban Ramm
it in a minimal example, so I guess it depends on the current surroundings. Since it points to some font handling and the figure is a PDF containing fonts, I guess it might depend on the new handling of fonts in PDFs, but it doesn’t change regardless of \setupexternalfigures[compact=preset:merge

[NTG-context] font error in float placement?

2024-01-13 Thread Henning Hraban Ramm
on the current surroundings. Since it points to some font handling and the figure is a PDF containing fonts, I guess it might depend on the new handling of fonts in PDFs, but it doesn’t change regardless of \setupexternalfigures[compact=preset:merge] or other settings. Here’s the image: https

[NTG-context] Re: Status of Asymptote

2024-01-03 Thread Jeroen
    -outname \externalfilteroutputfile},     output=\externalfilterbasefile.pdf,     cache=yes,     readcommand=\ReadImage,] \define[1]\ReadImage{\externalfigure[#1]} \starttext    Testing if we can include an asymptote image    \startplacefigure[location={here}, title={An Asymptote figure}] \startASY

[NTG-context] Re: Status of Asymptote

2023-12-30 Thread Aditya Mahajan
to obtain simple integration for asymptote using the filter module: https://github.com/adityam/filter Using that you could define an asymptote environment so that: \startbuffer[asymptote-preamble] \stopbuffer \starttext \startasymptote % Asymptote figure \stopasymptote \stoptext saves th

[NTG-context] Re: error: Control sequence expected instead of undefined

2023-12-25 Thread Willi Egger
d of undefined > > If I comment out the “\externalfigure[][]” line, then there is no error > message. > > I don’t know what is wrong in the sample code. > Please check the code. > > Thank you for reading. > > Best regards, > > Dalyoung > > %%%

[NTG-context] error: Control sequence expected instead of undefined

2023-12-25 Thread Jeong Dal via ntg-context
%%%* \starttext \in{figure}[fig:kruskal1] is my point. \startplacefigure[location=,reference=fig:kruskal1,title={}] \externalfigure[cow][width=.5\makeupwidth] \stopplacefigure \stoptext %___ If your

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-24 Thread Wolfgang Schuster
Garulfo schrieb am 23.12.2023 um 12:41: Hi all, the following  minimum working example is properly typesetted with textstyle=bold, but it fails with textstyle=cap (ConTeXt version : 2023.09.26 18:19) A number should have been here; I inserted '0'. (If you can't figure out why I needed

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-23 Thread Bruce Horrocks
> On 23 Dec 2023, at 11:41, Garulfo wrote: > > Hi all, > > the following minimum working example is properly typesetted with > textstyle=bold, > but it fails with textstyle=cap (ConTeXt version : 2023.09.26 18:19) > > A number should have been here; I inserted '0

[NTG-context] \setupsynonyms textstyle=cap failing

2023-12-23 Thread Garulfo
Hi all, the following  minimum working example is properly typesetted with textstyle=bold, but it fails with textstyle=cap (ConTeXt version : 2023.09.26 18:19) A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-17 Thread Hans Hagen via ntg-context
me suggestions. When all is stable I can spend a few hours on optimizing if needed. I am a novice at both Lua and MetaPost. I’m also new to Git and have never shared anything of substance with the ConTeXt community. (This barely counts as substantive, but I figure it’s best to start smal

[NTG-context] Seeking advice for module that draws globes

2023-12-17 Thread Gavin via ntg-context
;% Add a border, if you want. \stopMPpage I am a novice at both Lua and MetaPost. I’m also new to Git and have never shared anything of substance with the ConTeXt community. (This barely counts as substantive, but I figure it’s best to start small.) I’m sure many of you could find

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread Wolfgang Schuster
anton.chig...@mail.com schrieb am 09.12.2023 um 11:50: Hi all, I am generating a quiz, with eight questions, each with text and a figure following it. The output was fine till the fifth question, but then the margin separating the text of each question disappeared and the figure got put

[NTG-context] \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
Hi all, I am generating a quiz, with eight questions, each with text and a figure following it. The output was fine till the fifth question, but then the margin separating the text of each question disappeared and the figure got put on the next page one after the other. Can anyone suggest what I

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-27 Thread Fabrice L
I don't know how that would be done). If each of the figures 1 to 6 > of my mwe can be put alone on a page, I'd be already very happy. Now, they're > put on top of each other all on the same single page, also on top of figure 0. > > The desired multipage pdf will be used in prese

[NTG-context] multipage metapost output from ConTeXt

2023-11-27 Thread Emanuel Han via ntg-context
, I'd be already very happy. Now, they're put on top of each other all on the same single page, also on top of figure 0. The desired multipage pdf will be used in presentation mode of a pdf viewer and skipped forward and backward from page to page (that is from drawing step to drawing step). mwe

[NTG-context] Re: unwanted blank page

2023-11-22 Thread madiazm . eoicc
this is all new for me, I possibly go around and aroung to get a little thing done. In the introductions to ConTeXt I never found the command startmakeup, so i had to figure out a way to do it. I will study it at weekend

[NTG-context] Markdown to HTML cross-references

2023-11-21 Thread Thangalin
hub.io/pandoc-crossref - https://github.com/tomduck/pandoc-eqnos I'm leaning towards the following syntax: Markdown Item (table, blockquote, TeX block, figure, code, R chunk, etc.) : caption text {#type:label} See [@type:label] for details. There's a unit test that shows what's currently

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-15 Thread Jim
efficient) >> Unfortunately, it’s not a drop-in replacement, so it doesn’t work with >> most editors. (I was thinking about a translating wrapper script, but >> didn’t do anything yet.) >> AFAIK TeXshop (MacOS) is the only TeX editor that supports ConTeXt’s >> workflow. &

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Hans Hagen
On 11/12/2023 5:30 PM, Marco Patzer wrote: On Sun, 12 Nov 2023 16:34:00 +0100 Hans van der Meer via ntg-context wrote: In placing \externalfigure[file] I observe the figure is placed with its bottom on the baseline, thus: [externalfigure] --- baseline I looked

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Marco Patzer
On Sun, 12 Nov 2023 16:34:00 +0100 Hans van der Meer via ntg-context wrote: > In placing \externalfigure[file] I observe the figure is placed with > its bottom on the baseline, thus: > > [externalfigure] > --- baseline > > I looked

[NTG-context] placing \externalfigure

2023-11-12 Thread Hans van der Meer via ntg-context
In placing \externalfigure[file] I observe the figure is placed with its bottom on the baseline, thus: [externalfigure] --- baseline I looked into the option list of setupexternalfigure but could not find one whereby the location with respect to the baseline

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Hans Hagen
it doesn’t work with most editors. (I was thinking about a translating wrapper script, but didn’t do anything yet.) AFAIK TeXshop (MacOS) is the only TeX editor that supports ConTeXt’s workflow. indeed texshop uses the approach that avoids the library and just calls mtxrun to figure out

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-02 Thread Vincent Hennebert
alternatives and design sizes (the latter being available in the Serif style only). Comments welcome. If it looks good I can upload it to the wiki, on the Typescripts_examples page I guess. I have no tiem now to figure out this (somewhat excessive) amount of fonts - hopefully we will not end up

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-01 Thread Hans Hagen via ntg-context
in the Serif style only). Comments welcome. If it looks good I can upload it to the wiki, on the Typescripts_examples page I guess. I have no tiem now to figure out this (somewhat excessive) amount of fonts - hopefully we will not end up in a world where all fonts have many weights which makes

[NTG-context] Re: typearea

2023-10-29 Thread Thomas Meyer
typearea] 95 \setupTypeArea[bcor=0mm,alphabets=3.1] 96 \setuppagenumbering[alternative=doublesided] 97 \starttext 98 \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} 99 \stoptext A number should have been here; I inserted '0'. (If you can't figure out why I needed to

[NTG-context] typearea

2023-10-29 Thread Thomas Meyer
=doublesided] 97 \starttext 98 \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} 99 \stoptext A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.) mtx-context |

[NTG-context] Re: Gray gradient with Metapost

2023-10-07 Thread Keith McKay
w rectangle; Hope this helps. Best Wishes Keith On 07/10/2023 16:54, Fabrice Couvreur wrote: Hi, Sorry for the late response. Thanks for the help. So I read the documents and managed to get a gradient even if it's not exactly like the figure. Fabrice draw lmt_shade [               pat

[NTG-context] Re: Gray gradient with Metapost

2023-10-07 Thread Fabrice Couvreur
Hi, Sorry for the late response. Thanks for the help. So I read the documents and managed to get a gradient even if it's not exactly like the figure. Fabrice draw lmt_shade [ path = (z0--z4--z5--z1--cycle), direction = "left", alternative

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hamid,Idris
. So not "an inconsistent mess" -- at least not as far as Arabic-script typography is concerned. (Yes, for the upcoming Husayni I can add a font feature that does the trick, but that will be an exception to the rule.) Perhaps others who use Arabic-script or Indic, etc., c

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
important to have -- even inescapable for Arabic-script piblishing. a bit subjectiev arguing -) Perhaps others who use Arabic-script or Indic, etc., can chime in.. Am hopeful that we can figure something out! sore, but not with 'ins

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
The upshot is that, for non-Latin scripts, some toggling capability in ConTeXt is important to have -- even inescapable for Arabic-script piblishing. Perhaps others who use Arabic-script or Indic, etc., can chime in.. Am hopeful that we can figure something out! Best wishes Idris -- Idris Samawi Ha

  1   2   3   4   5   6   7   8   9   10   >